//
//  TestCodeView.h
//  CloudTest
//
//  Created by 张帅 on 2020/7/22.
//  Copyright © 2020 张帅. All rights reserved.
//

#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN

@interface TestCodeView : UIView
@property(nonatomic,strong)NSString * code;
@property(nonatomic,strong)void(^animation_block)(void);
@property(nonatomic,strong)void(^network_block)(id obj);

- (instancetype)initWithFrame:(CGRect)frame header:(BOOL)header;
- (void)setName:(NSString *)name imageUrl:(NSString *)imageUrl;
- (void)get_test_data;
- (void)textFieled_becomeFirstResponder;
@end



// 相册展示内容的类型
typedef NS_ENUM(NSUInteger, ShowType) {
    Show_default_type,                              // 默认显示
    Show_loading_type,                             // 加载中
    Show_error_type,                               // 加载错误
    Show_loading_complete_type,                    //加载成功
};
@interface PromptCodeView : UIView
@property(nonatomic,assign)ShowType show_type;
@property(nonatomic,strong)void(^retry_block)(void);//重试block

- (void)default_state;
@end

NS_ASSUME_NONNULL_END
